package org.jeecg.modules.basic.repair.service.impl;

import org.jeecg.modules.basic.repair.entity.LwgyRepairMaintenance;
import org.jeecg.modules.basic.repair.mapper.LwgyRepairMaintenanceMapper;
import org.jeecg.modules.basic.repair.service.ILwgyRepairMaintenanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;


/**
 * @Description: 报修维修
 * @Author: jeecg-boot
 * @Date:   2021-02-28
 * @Version: V1.0
 */
@Service
public class LwgyRepairMaintenanceServiceImpl extends ServiceImpl<LwgyRepairMaintenanceMapper, LwgyRepairMaintenance> implements ILwgyRepairMaintenanceService {

    @Autowired
    private LwgyRepairMaintenanceMapper  lwgyRepairMaintenanceMapper;
    @Override
    public void changeBxState(LwgyRepairMaintenance lwgyRepairMaintenance) {
        lwgyRepairMaintenanceMapper.changeBxState(lwgyRepairMaintenance);
    }

    @Override
    public void changeVote(LwgyRepairMaintenance lwgyRepairMaintenance) {
        lwgyRepairMaintenanceMapper.changeVote(lwgyRepairMaintenance);
    }

    @Override
    public List<Map<String,Object>> queryRepairData() {
        return lwgyRepairMaintenanceMapper.queryRepairData();
    }

}
